﻿/*
    内页的整体布局
*/
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;

    h3 {
        font-size: 24px;
        font-weight: bold;
    }
}

.page-title {
    color: #666;
    display: block;
    font-family: "Open Sans",sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -1px;
    margin: 0 0 15px;
    padding: 0;
}

.page-bar {
    background-color: #f7f7f7;
    margin-bottom: 20px;
    padding: 0;

    &:before, &:after {
        content: " ";
        display: table;
    }

    &:after {
        clear: both;
    }

    .page-breadcrumb {
        display: inline-block;
        float: left;
    }

    .btn-group {
        float: right;
        margin: 2px 0 0 0;
    }

    .toolbar {
        float: right;
        background: #bfcad1;
        color: #fafcfb;
        cursor: pointer;
        padding: 9px 18px;

        &:hover {
            background: #aab9c2;
            color: #fff;
        }

        i {
            margin: 0 10px 0 0;
            font-size: 14px;
        }
    }
}

.page-filter {
    position: relative;
    margin-bottom: 10px;

    &:after, &:before {
        display: table;
        content: "";
    }

    &:after {
        clear: both;
    }

    .form-inline {
        display: none;
        margin-bottom: 10px;

        &:last-child {
            margin: 0px;
        }

        .form-group {
            width: 12%;

            &:before, &:after {
                display: table;
                content: "";
            }

            &:after {
                clear: both;
            }

            input[type=text] {
                width: 100%;
                box-sizing: border-box;
            }

            select {
                width: 68%;
                box-sizing: border-box;
            }
        }

        .form-select {
            width: auto;

            select {
                width: 120px;
            }
        }

        .form-datetime {
            width: 24%;

            .input-time {
                width: 40% !important;

                .input[type=text] {
                    width: 100% !important;
                }
            }
        }

        .form-checkbox {
            width: auto !important;
        }
    }

        .form-inline:first-child {
            display: block;
        }

    .btn-bar {
        position: absolute;
        top: 0px;
        right: 0px;
    }
}

.page-pagination {
    &:after, &:before {
        display: table;
        content: "";
    }

    &:after {
        clear: both;
    }

    .page-info {
        margin: 5px 0 0 0;
    }
}

.page-table {
}

.table-option {
    &:before, &:after {
        display: table;
        content: "";
    }

    &:after {
        clear: both;
    }
}

.page-form {
    position: relative;

    &:after, &:before {
        display: table;
        content: "";
    }

    &:after {
        clear: both;
    }
}

.returnback {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: none;
    z-index: 9000;

    a {
        display: block;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        border: 1px solid #1399F7;
        color: #1399F7;
        background: #fff;

        &:hover {
            color: #fff;
            background: #1399f7;
        }

        i {
            font-size: 16px;
        }
    }
}

.page-footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    border-top: 1px solid #C3CED5;
    background: #fff;
    padding: 8px 20px;
    box-sizing: border-box;

    &:after, &:before {
        display: table;
        content: "";
    }

    &:after {
        clear: both;
    }
}

.load-panel {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.8;
    filter: alpha(opacity=80);
    text-align: center;
    z-index: 9000;
    box-sizing: border-box;
    padding-top: 260px;
    font-size: 13px;
    color: #333;
    * {
        vertical-align: middle;
    }

    img {
        display: inline-block;
        margin: 0 10px 0 0;
    }
}
